package com.hujia.hjsurprisemeal.repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hujia.hjsurprisemeal.model.Feedback;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface FeedbackMapper extends BaseMapper<Feedback> {
    @Select("SELECT * FROM feedback")
    List<Feedback> getAllFeedbacks();
}